/*
 * BoardSupport.c
 *
 *  Created on: May 21, 2012
 *      Author: emh203
 */

#include "System.h"


void InitGPIO()
{

	LPC_GPIO3->DIR |= LED_LOC |  FPGA_SLAVE_CFG_CCLK_LOC | FPGA_SLAVE_CFG_DIN_LOC | FPGA_SUSPEND_LOC;

	LPC_GPIO1->DIR |= FPGA_SLAVE_CFG_PROG_B_LOC;
	LPC_GPIO1->DIR &= ~FPGA_SLAVE_CFG_INIT_B_LOC;
	LPC_GPIO1->DIR &= ~FPGA_SLAVE_CFG_DONE_LOC;

	 FPGA_SUSPEND_INACTIVE;
	PROG_B_INACTIVE;
	CCLK_INACTIVE;
	DIN_INACTIVE;

}
